package com.sichen.ware.feign;

import com.sichen.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用Product服务
 * <p>Created with IntelliJ IDEA.
 * <p>Author: 思尘
 * <p>Created time: 2022-08-21 16:38
 * <p>Version: V1.0
 */
@FeignClient("sichen-product")
public interface ProductFeignService {

    /**
     * product/skuinfo/info/{skuId}
     *
     * @param skuId
     * @return
     */
    @RequestMapping("product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);


}
